Advanced Debugging
About AdvDbg Consult Train Services Products Tools Community Contact  
欢迎光临 高端调试 登录 | 注册 | FAQ
 
  ACPI调试
Linux内核调试
Windows内核调试
 
  调试战役
调试原理
新工具观察
 
  Linux
Windows Vista
Windows
 
  Linux驱动
WDF
WDM
 
  PCI Express
PCI/PCI-X
USB
无线通信协议
 
  64位CPU
ARM
IA-32
  CPU Info Center
 
  ACPI标准
系统认证
Desktop
服务器
 
  Embedded Linux
嵌入式开发工具
VxWorks
WinCE
嵌入式Windows
 
  格蠹调试套件(GDK)
  格蠹学院
  小朱书店
  老雷的微博
  《软件调试》
  《格蠹汇编》
  《软件调试(第二版)》
沪ICP备11027180号-1

C/C++本地代码调试

帖子发起人: yawiki   发起时间: 2015-07-08 16:48 下午   回复: 2

Print Search
帖子排序:    
   2015-07-08, 16:48 下午
yawiki 离线,最后访问时间: 2015/12/24 7:26:52 yawiki

发帖数前150位
注册: 2009-09-04
发 贴: 6
!heap -s遇到下面的提示,各位老大能否帮分析下是什么原因?
Reply Quote
程序跑在win2012 64bit上,这个程序也是64bit的。我抓到dump之后在本地的32bitwin7上用windbg打开分析的,看提示就是各种信息都不可用啊,不知道怎么继续了,btw:我打开了gflags的+ust

0:000> !heap -s
NtGlobalFlag enables following debugging aids for new heaps:
    stack back traces
LFH Key                   : 0x6f0faa337e6f2041
Termination on corruption : ENABLED
          Heap     Flags   Reserv  Commit  Virt   Free  List   UCR  Virt  Lock  Fast 
                            (k)     (k)    (k)     (k) length      blocks cont. heap 
-------------------------------------------------------------------------------------
    Unable to read nt!_HEAP_SEGMENT structure at 0000000014e20018
00000000024a0000 08000002    1020   1020   1020    430   207     1    0     44   LFH
0000000000a10000 08008000      64      4     64      2     1     1    0      0      
Error: Heap 00000000026e0000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
    Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 00000000026e0000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block

00000000026e0000 00000000       0      0      0      0     0     0    1      0      
Error: Heap 0000000002d00000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
    Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 0000000002d00000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block

0000000002d00000 00000000       0      0      0      0     0     0    1      0      
Error: Heap 00000000147a0000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
    Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 00000000147a0000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block

00000000147a0000 00000000       0      0      0      0     0     0    1      0      
Error: Heap 0000000015300000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
    Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 0000000015300000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block

0000000015300000 00000000       0      0      0      0     0     0    1      0      
Error: Heap 00000000485e0000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
    Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 00000000485e0000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block

00000000485e0000 00000000       0      0      0      0     0     0    1      0      
Error: Heap 0000000053ea0000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
    Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 0000000053ea0000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block

0000000053ea0000 00000000       0      0      0      0     0     0    1      0      
Error: Heap 000000004bb90000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
    Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 000000004bb90000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block

000000004bb90000 00000000       0      0      0      0     0     0    1      0      
Error: Heap 0000000053e90000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
    Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 0000000053e90000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block

0000000053e90000 00000000       0      0      0      0     0     0    1      0      
Error: Heap 0000000054820000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
    Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 0000000054820000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block

0000000054820000 00000000       0      0      0      0     0     0    1      0      
Error: Heap 0000000055bc0000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
    Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 0000000055bc0000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block

0000000055bc0000 00000000       0      0      0      0     0     0    1      0      
Error: Heap 00000000582f0000 has an invalid signature eeffeeff
Front-end heap type info is not available
Front-end heap type info is not available
    Unable to read nt!_HEAP_SEGMENT structure at 0000000000000000
Virtual block: 0000000000000000 - 0000000000000000 (size 0000000000000000)
HEAP 00000000582f0000 (Seg 0000000000000000) At 0000000000000000 Error: Unable to read virtual block

00000000582f0000 00000000       0      0      0      0     0     0    1      0      


IP 地址: 已记录   报告
   2015-07-08, 21:52 下午
Raymond 离线,最后访问时间: 2020/7/3 3:40:25 格蠹老雷

发帖数前10位
注册: 2005-12-19
发 贴: 1,303
Re: !heap -s遇到下面的提示,各位老大能否帮分析下是什么原因?
Reply Quote
先确认符号路径是否设置好了,如果没有问题,看一下windbg的版本号,如果很旧,换个新版本
IP 地址: 已记录   报告
   2015-07-21, 00:13 上午
yawiki 离线,最后访问时间: 2015/12/24 7:26:52 yawiki

发帖数前150位
注册: 2009-09-04
发 贴: 6
Re: !heap -s遇到下面的提示,各位老大能否帮分析下是什么原因?
Reply Quote
果然,确实是windbg版本的问题,换了另一个版本就好了
IP 地址: 已记录   报告
高端调试 » 软件调试 » C/C++本地代码调试 » !heap -s遇到下面的提示,各位老大能否帮分析下是什么原因?

 
Legal Notice Privacy Statement Corporate Governance Corporate Governance
(C)2004-2020 ADVDBG.ORG All Rights Reserved.